package com.baox.agridata.synchronous.service.impl;

import com.baox.agridata.synchronous.dao.TCCABMapper;
import com.baox.agridata.synchronous.entity.TCCABEntity;
import com.baox.agridata.synchronous.service.TCCABService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCCABServiceImpl implements TCCABService {

    @Autowired
    private TCCABMapper tccabMapper;


    @Override
    public Integer insertIntoTCCAB(TCCABEntity tccabEntity) {
        return tccabMapper.insertIntoTCCAB(tccabEntity);
    }

    @Override
    public Integer updateTCCABById(TCCABEntity tccabEntity) {
        return tccabMapper.updateTCCABById(tccabEntity);
    }

    @Override
    public TCCABEntity selectTCCABById(String mid) {
        return tccabMapper.selectTCCABById(mid);
    }

    @Override
    public List<TCCABEntity> selectTCCABDataToChengDu(String startTime, String endTime) {
        return tccabMapper.selectTCCABDataToChengDu(startTime, endTime);
    }

    @Override
    public List<TCCABEntity> selectAnimalBLandingFeedback(String startTime, String endTime) {
        return tccabMapper.selectAnimalBLandingFeedback(startTime,endTime);
    }

    @Override
    public Integer selectSiChuanReceiveCDAnimalB(String startTime, String endTime) {
        return tccabMapper.selectSiChuanReceiveCDAnimalB(startTime, endTime);
    }

    @Override
    public Integer selectSiChuanToCDAnimalB(String startTime, String endTime) {
        return tccabMapper.selectSiChuanToCDAnimalB(startTime, endTime);
    }
}
